package org.zsl;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.zsl.entity.CustomerRecord;

@Configuration
@ComponentScan(basePackages = "org.zsl.lesson4_aop")
public class AppicationCf {


    @Bean
    public CustomerRecord getRecord(){

          CustomerRecord record = new CustomerRecord();
          record.setContent("test");

          return  record;
    }
}
